<div class="rainbowAlbumSampleStyleWidget">
    <a href="/rainbow/album/{{ album_instance.id }}/of/user/{{ album_instance.user.id }}/show">
        <div class="rainbowAlbumSampleStyleInfoWidget">
            <label class="rainbowAlbumName">{{ album_instance.name }}</label>
            <label style="float:right;">({{ album_instance.profile.album_photos.count }})</label>
        </div>
    </a>
    <div class="rainbowAlbumSnapshotWidget">
        <a href="/rainbow/album/{{ album_instance.id }}/of/user/{{ album_instance.user.id }}/show">
            <div class="rainbowAlbumSnapshotWidgetCoverage"></div>
        </a>
        {% for photo in album_instance.profile.snapshot_photos %}
            <div class="rainbowAlbumPhotoSnapshotWidget">
                <a href="/rainbow/photoframe/{{ photo.id }}/show?format=sample"></a>
            </div>
        {% endfor %}
        {% for e in empty %}
            <div class="rainbowAlbumPhotoSnapshotEmptyWidget"></div>
        {% endfor %}
    </div>
    {% if album_instance.profile.is_auth_owner %}
        <a href="/rainbow/album/{{ album_instance.id }}/of/user/{{ album_instance.user.id }}/edit">
            <div style="margin-top:10px;text-align:center;border:1px solid #dcdcdc;padding:10px;background:silver;border-radius:2px;">
                <label>编辑</label>
            </div>
        </a>
    {% else %}
        <a href="/rainbow/album/{{ album_instance.id }}/of/user/{{ album_instance.user.id }}/edit">
            <div style="margin-top:10px;text-align:center;">
                <label>关注</label>
            </div>
        </a>
    {% endif %}
</div>